export const GlobalVal = {
    iframeWindow: null, // iframe的window对象
    toolbar: {
        bottom: 600,
        left: 0,
    },
    userList: [
        { name: 'kf1', pwd: '123456a!' },
        { name: 'kf2', pwd: '123456a!' },
        { name: 'kf3', pwd: '123456a!' },
        { name: 'kf4', pwd: '123456a!' },
        { name: 'kf5', pwd: '123456a!' },
        { name: 'ncc1', pwd: '123456a!' },
        { name: 'ncc2', pwd: '123456a!' },
        { name: 'ncc3', pwd: '123456a!' },
        { name: 'ncc4', pwd: '123456a!' },
        { name: 'ncc5', pwd: '123456a!' },
    ],
    envData: [
        {
            url:'http://10.16.224.174:2207/yonbip/resources/uap/rbac/login/main/index.html',
            users:[{name:'kf1',pwd:'123456a!'},{name:'kf2',pwd:'123456a'}],
            title:'2207'
        },
        {
            url:'http://10.16.230.25:50000/nccloud/resources/uap/rbac/login/main/index.html',
            users:[{name:'kf1',pwd:'123456a'}],
            title:'2111'
        },
        {
            url:'http://10.16.236.67:2105/nccloud/resources/uap/rbac/login/main/index.html',
            users:[{name:'kf1',pwd:'123456a'}],
            title:'2105'
        },
        {
            url:'http://10.16.236.67:2005/nccloud/resources/uap/rbac/login/main/index.html',
            users:[{name:'kf1',pwd:'123456a'},{name:'kf2',pwd:'123456a'}],
            title:'2005'
        },
        {
            url:'http://10.16.236.67:1909/nccloud/resources/uap/rbac/login/main/index.html',
            users:[{name:'kf1',pwd:'123456a'},{name:'kf2',pwd:'123456a'},{name:'kf3',pwd:'123456a'},{name:'kf4',pwd:'123456a'},{name:'kf5',pwd:'123456a'}],
            title:'1909'
        }
    ]
}
const proxyObj = {
	// ['2111']:{proxy: 'http://10.16.224.174:2111/',devPort:'2111'}, 
	// ['2206']:{proxy: 'http://10.16.224.174:2206/',devPort:'2206'}, // 正式环境 wxl/qwer123
	// ['2207']:{proxy: 'http://10.16.8.39:2207/',devPort:'2207'}, // 正式环境 wxl/qwer123
	// ['22077']:{proxy: 'http://10.16.224.174:22077/',devPort:'22077'}, // 正式环境 078/yonyou1!
	// ['云原生']:{proxy: 'http://10.16.232.214',devPort:'80',prevStr:'yonbip'}, // 正式环境 wxl/qwer123
	// ['集群环境']:{proxy: 'http://10.16.8.39',devPort:'80',prevStr:'yonbip'}, // 正式环境 wxl/qwer123
	// ['YonBIP高级版']:{proxy: 'http://10.10.18.38',devPort:'80',prevStr:'yonbip'}, // 正式环境 wxl/qwer123
	// ['集成环境']:{proxy: 'http://10.16.10.8/',devPort:'80',prevStr:'yonbip'}, // 正式环境 wxl/qwer123
	// ['7030新节点']:{proxy: 'http://10.10.18.45:7030/',devPort:'7030',prevStr:'yonbip'},
	// ['李淼']:{proxy: 'htpp://10.6.192.249:6500',devPort:'6500',prevStr:'yonbip'},
}
Object.keys(proxyObj).forEach(key => {
    GlobalVal.envData.unshift({
        url : proxyObj[key].proxy,
        title: key,
        users:[{name:'youxxr',pwd:'123456a!'}],
    })
})


